#pragma once

#include <string>
#include <SDL2\SDL.h>
class LGDisplay
{
public:
	LGDisplay(int width,int height,const std::string& title);
	~LGDisplay();
	void update();
	bool IsClosed();
	void Clear(float r, float g, float b, float a);
protected:

private:
	SDL_Window* m_window;
	SDL_GLContext m_glContext;
	bool m_isClosed;
};

